package com.jy.modules.cims.common.open.api.dto;

import java.io.Serializable;
import java.util.Map;

public class HttpParam implements Serializable {
	private static final long serialVersionUID = -61836537215371574L;
	private Map<String, String> headers;
	private String charset;
	private Integer connTimeout;
	private Integer readTimeout;

	public HttpParam() {
	}

	public HttpParam(Map<String, String> headers, String charset,
			Integer connTimeout, Integer readTimeout) {
		this.headers = headers;
		this.charset = charset;
		this.connTimeout = connTimeout;
		this.readTimeout = readTimeout;
	}

	public Map<String, String> getHeaders() {
		return this.headers;
	}

	public void setHeaders(Map<String, String> headers) {
		this.headers = headers;
	}

	public String getCharset() {
		return this.charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public Integer getConnTimeout() {
		return this.connTimeout;
	}

	public void setConnTimeout(Integer connTimeout) {
		this.connTimeout = connTimeout;
	}

	public Integer getReadTimeout() {
		return this.readTimeout;
	}

	public void setReadTimeout(Integer readTimeout) {
		this.readTimeout = readTimeout;
	}
}
